image and move viewer in htmlt5