tried to fix pagination slider thing