fixed pagination hiding