Changes: Properly support inverted styles on viewheaderpage.
Changes: Properly support inverted styles on viewheaderpage.

RevBy: Daniel d'Andrada, Miguel Gomez

ModifiedBy: Daniel d'Andrada
  - replaced dynamic_cast with static_cast

Details:
https://meego.gitorious.org/meegotouch/libmeegotouch/merge_requests/2298

nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch