added css and controller control