- hacky dynamic vertical alignment that doesn't completely suck (+4 squashed commits)
- keep stuff horizontally aligned when resizing the window
- make sure that we can remove a different type of custom view when showing an image viewer
- refactor and add comments