use window.history on layout context as well
remove video posters, refactor ifmodifiedsince
typo
give modal next/prev buttons space for video controls