code: function ( action ) {
  			if (F.isOpen) {
  				F.current.fitToView = $.type(action) === "boolean" ? action : !F.current.fitToView;
  
  				// Help browser to restore document dimensions
  				if (isTouch) {
  					F.wrap.removeAttr('style').addClass('fancybox-tmp');
  
  					F.trigger('onUpdate');
  				}
  
  				F.update();
  			}
  		}
docs: Shrink content to fit inside viewport or restore if resized