Converted layout view to tabs
Paginate index view