Previous/Next sequencing

Related to issue #30