cleaner and easier animations for layers