Extending Gal-Chen and Somerville terrain-following coordinate transformation on time-dependent curvilinear boundaries