made left position of center to percentage