Bug 979086 SMS Gallery Landscape Mode

Duplicate Bug 960215, media frame should receive resize event when window is resized
Apply this patch: https://github.com/mozilla-b2g/gaia/pull/15512