Add the ability to loop through a menu in prev() and next()
Updated readme to reflect changes.