Refresh media size when changing orientation.

Fixes #1002 

After:
![ios simulator screen shot jan 3 2014 10 35 02 am](https://f.cloud.github.com/assets/1435271/1840617/531ffb2a-7495-11e3-833b-5ab42bf264ed.png)