$(document).ready(function() {

	$(document).scroll(function () {
		var $nav = $(".navbar");
		$nav.toggleClass('scrolled', $(this).scrollTop() > $(window).height()/3);
	});

	var h = $("#services").height();
	$("#particles-js").height(h);

	$(window).resize(function() {
		console.log("lqejf");
		var h = $("#services").height();
		$("#particles-js").height(h);
	});

});
