add suiv and prev features to the gallery