added trans_number for scaling position of radial in layout.js