Trying to fix sliding in IOS