gesture support if there are only two images