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