handle the image slide interval more correctly + break some big functions to smaller ones + handle page scrollbars when flying out images.