image viewer add document scrolltop animation