updated transitions and added image loading