function _updateControls() {
		data.$arrows.removeClass('disabled')
		if (data.gallery.index === 0) {
			data.$arrows.filter('.previous').addClass('disabled')
		}
		if (data.gallery.index === data.gallery.total) {
			data.$arrows.filter('.next').addClass('disabled')
		}
	}
/**
	 * @method private
	 * @name _updateControls
	 * @description Updates gallery control states
	 */
@method private
@name _updateControls
@description Updates gallery control states
@method private @name _updateControls @description Updates gallery control states
function _updateControls() {
		data.$arrows.removeClass('disabled')
		if (data.gallery.index === 0) {
			data.$arrows.filter('.previous').addClass('disabled')
		}
		if (data.gallery.index === data.gallery.total) {
			data.$arrows.filter('.next').addClass('disabled')
		}
	}
function _updateControls ( ) { data . $arrows . removeClass ( 'disabled' ) if ( data . gallery . index === 0 ) { data . $arrows . filter ( '.previous' ) . addClass ( 'disabled' ) } if ( data . gallery . index === data . gallery . total ) { data . $arrows . filter ( '.next' ) . addClass ( 'disabled' ) } }
@method private
 @name _updateControls
 @description Updates gallery control states
@method private @name _updateControls @description Updates gallery control states