add new funtion from one image to another image gradually