slightly changing css and starting minor optimization of the controller