Add debouncing & throttling, fix mobile navigation

Add throttling for scrolling and debouncing for resize events. Update
main nav and prev/next links so they work on touch devices.