Updates sidebar switch to allow for states
Updates sidebar switch to allow for states