Fix bug with loading/error views slide off screen

Fixes #242

I can't guarantee that this is the only or best way to fix this issue, but we had the same problem, and this is how we fixed it.