improved dimension detection
detects dimension of collapsed item based on methods discussed at: http://stackoverflow.com/questions/1472303/jquery-get-width-of-element-when-not-visible-display-none
detects dimension of collapsed item based on methods discussed at: http://stackoverflow.com/questions/1472303/jquery-get-width-of-element-when-not-visible-display-none