Fix bad property access & close sidebar drawer when items are tapped on
Test-plan:
- Run the app
- Make window narrow enough until the sidebar becomes modal
- Tap/click on a sidebar item
Before:
- Sidebar did not close automatically
Now:
- Sidebar closes automatically
Edited by Jack Hill