code refactor
support swipe events for mobile
now works with checkbox AND radio buttons
use input html instead of empty div