Fix horizontal scrolling issue in iOS 8