adjusts margin to mobile