Lazily resize inactive slides

Fixes #1.