Added layout for small devices in portrait and landscape