Add extend for trailing margin