Defer loading preview data unless visible

Fixes #131.