Added previous and next commands.