made layout responsive to device screen size