changed the window size in PathPanel