movement of square