making layouts work for short screen