Added touch and drag through implementation to change switches. Also added tap to reset switches