Added a simple on/off switch control

Attention: Resizing in on state has a bug at the moment