I managed to write a function that makes a nav bar sticky when scrolling for IE 11, but when I added a debounce function that I typed from a
site, navbar doesn't stick anymore when scrolling. I think I'm just going to leave what I have and work on it tonight.