Fixed bugs with scrollview (ios 7.1 ) and some changes