improved global animation class "pointer" for animation at mouse position