add transition to checkbox