Show and hide elements based on radio or checkbox selection