fix so content width stays the same during transition