margin fix for small devices