Further attempts at tabs

The logic in the controller is now fixed, but the display still doesn't
work