Auto-hide sidebar fix

* Higher z-index to get on top of notes.
* Shifted events around some more to make the sidebar respond in a better fashion.