refactor(content): set saved-scroll after timeout, only set valid values

Addresses #439