notice: finalized tab layouts, improved the controller