Added slider switch for boolean input.