couple of tweaks

- supports disabling partial float
- tweak shadow for fully overlapped view controllers
- supports disabling panning for view controller
- tweak logic of calculating lastVisibleIndex