Implemented tablet layout.