Improved animation efficiency by using setCenter instead of setFrame