function pushToNavbar(name, url, action) {
			$navigation.append(
				<span
					id={getNavId(url)}
					className="nav"
					data-url={url}
					data-name={name}
					attr-action="navigation"
					attr-text={name}
					tabIndex={-1}
				></span>,
			);
			$navigation.scrollLeft = $navigation.scrollWidth;

			if (action && !actionStack.has(url)) {
				actionStack.push({
					id: url,
					action,
				});
			}
		}
Pushes a navigation button to navbar
@param {String} id
@param {String} name
@param {String} url