save scroll top when opening image