Reduce pagination margin on smaller devices
Also animate transition between different margins