fixed pagination and fixed tab hover bug