Next and Previous buttons work now