Next and previous content buttons working