lib/actions/select-item.js
function nextSibling(node) {
	while (node) {
		if (node.nextSibling) {
			return node.nextSibling;
		}
		node = node.parent;
	}
}
function nextSibling(node) {
	while (node) {
		if (node.nextSibling) {
			return node.nextSibling;
		}
		node = node.parent;
	}
}
function nextSibling ( node ) { while ( node ) { if ( node . nextSibling ) { return node . nextSibling ; } node = node . parent ; } }
Returns next sibling element for given node. If no direct sibling found, tries
to find it from its parent and so on
@param  {Node} node
@return {Node}
Returns next sibling element for given node . If no direct sibling found tries to find it from its parent and so on