Adds the drag feature to vertical bars

Adds support for the vertical, all bar sizes and smoothes the animation
a bit, and a minor fix to the test.html. all should be working.