can you translate this jquery javascript into vanilla javascript? 
var mobileMenu = function () {
	$('.hambi').on('click', function(){
		$('.mobile-drop-wrapper').slideToggle('fast', function() {
			if($('.mobile-drop-wrapper').css('display')=='block') {
				window.scrollTo({top: 0, behavior: 'smooth'});
			}
		});
	})
	$(window).on('resize', function () {
		if($(window).width() > 710) {
			$('.mobile-drop-wrapper').css('display','none');
		}
		if($(window).width() > 1020) {
			$('form[name="filterForm"]').css('display','block');
		}
	});
} Provide your response in exactly 7 paragraphs (separated nearby paragraphs with 3 aterisk symbols ***).
user