Created a screen transition animation