Fixed the problem with zoom in and zoom out
Need to refactor code
Refactored the code in zoom in and zoom out