Trying to get rotation to work.
The popup is working.
We now have a side-bar menu. It seems that using the default jquery modals
would be probably smarter.