updates margins for animations. hoops still has issues.