Update GoPrevious and GoNext handler.