Removed the show tabs function because it didnt work correctly in all cases