Added an option to center items