Added disabled class on next and previous buttons