added basic mobile and tablet support