Sets up centering property