add user contributed switch and make it flexible for resizing