show and hide dynamic controls