transfered all functions with animations to another file therefore cleared all views