included updated options

added nextprev boolean