basic resize for mobile