Sidebar work
* remember sidebar orientation
* fix #208
* fix animation issues
* always show the show/hide sidebar button