adding showtabs and hide tabs