set fixed height only when screen is big enough