Code refined and add a new feature to move site to some position.