switch previous and next page through float buttons