added prev/next to Flick api script