changing css class according fifth generation iphones