Changed the way the sidebar reacts to the mouse
Non-hardcoded values
Merge pull request #2 from Ducky1/master

Changed the way the sidebar reacts to the mouse