make switch clickable