Event-based Reconfiguration Control for Time-varying Formation of Robot Swarms in Narrow Spaces