fixed left right and added controls