Added the "next" and "previous" function

Yeah it works… ;)