Add textures and dragging of a switch