now the gallery can zoom in/out, still has a bug: the first and last picture can't display completely when zoom out