Better scoping on the in and out animation methods