Split and organize events into new file
Polish UI behavior

- Prevent both bars from beeing active simultaneously
- Auto close top bar when side bar opens
- Prevent event bubbling in bars
- Top bar resets auto-hide timeout when clicked