Use dir property to switch bracket flow direction