set initial position of network graoh to upper center of window