onSlide
Called when the main view's position changes.
Parameters
slideOffset
The new offset of the main view within its range, from 0-1
Called when the main view's position changes.
The new offset of the main view within its range, from 0-1