Added controls for primary directions and centering