Switches next and previous button