display prev/next buttons only if number of pictures greater than two