trim padding around section