Would it be possible to not include all the default layout cruft for this? I.e. the navigation bar, footer, etc., even if it's not visible. Like http://stackoverflow.com/a/5090209