adjusting sencha code

added client side screen measurement snippet