Added new commands for next and previous