Fixed Preview window

CSS transitionss working fine now