Move event listeners to each component
Make sidebar transition smoother
Re-enable fullscreen support by adding a workaround for Bug 779324