Fixed css bugs for mobile and tablet view