fix for screens with height lower than 320px