fix image resizing for mobile