Common styles: Added fixes for mobile browsers.

These fixes should signifficantly improve performance.