view functions for animations