Bugfixing and new animation functions