got Next and Previous tabs working