change the coordinate of function, menu