made flexible layout for small phones