Add support for iOS devices

iOS is a pain when it comes to events. It fires 
resize and scroll on a normal scroll gesture AND
on rotation. It was mainly working but it failed
to detect the top stop.