changed the way  is displayed the checkbox via css and also the toggle function in the view