Move fucntions working as well as previews of images