Animations for the ap bar