smooth out modal appearance with scrollbar, adjust mobile nav js to work on desktop