add useParent setting to calculate width based on parent not element. This is useful for sliders where the element is hidden, resulting in a width of 0.