changes for mobile compatibility