Add prev, next error functionality to menu