main viewcontroller has some states and the subviews scrolls to the left on end decelerating