fix showing pagination inside tabs