Ubuntu App Showdown: display orientation, screen resolution

Since I'm using HTML5 instead of QML, one of the challenges is make the RSS feed reader behave like a native application. One such challenge is to make the application adapt to orientation an screen size.

My RSS feed reader displays feeds differently depending on the handheld and how the handheld is held.

If the user uses a smartphone in portrait mode, the RSS feed reader looks like that: