Implemented next and prev command
Merge pull request #82 from andhieka/working

Implemented next and prev command