Refactor move to center function.
Clean up move to center function.
Fix spacing of push style values.