Animations

added animation handler for view changing