Swype drawer-bar function, animation function

Fixed and improved drawer-bar scroll algorithm.
Introduced animations in the drawer-bar.