added mobile and tablet support