docs: move the image into view if it is invisible after zoomed out
docs: move the image into view if it is invisible after zoomed out

Fix #429

fengyuanchen/viewerjs,gdh1995/viewerjs,gdh1995/viewerjs,fengyuanchen/viewerjs