Added inc to the beforeRender event, this is the only way to know if the user clicked next/prev