adding zoom/pan functionality to topology graph