Auto-hide sidebar cleanup

* Removed some unnecessary bits.