mobile compatibility
changes for mobile version