adjusted mobile and tablet layouts