impl prev() and next() method
Merge pull request #31 from xaicron/master

impl prev() and next() method