fix: added allowclick check next/prev