Added helpers to calculate width of carousel position widget and rating stars