prevent overflow to left when editing page