Working slider and prev/next