added a cleaner for graphs and added zoom function