Added functional for next and prev bnt