Syntax

I prefer it written this way.
Separated into proper next / prev functions
Updated demo