removed debugging for prev next buttons