fix height problem on small devices