Custom binding to switch boolean attibutes of the DOM with flags