switch display order of prev/next buttons
fix issues with prev/next buttons when invalid selection (e.g. input box empty)
minor tweak to seq_sane
Merge pull request #46 from landroni/master

gfilter.R: improve behavior of prev/next buttons