Updated mobile size calculation. Updated to jquery mobile 1.4 css
syntax.