more changes for automatic scaling on mobile