Fix side menu so that it stays open and displays correct icon

Fixes #161