removing blank spaces
adding onElementOnPage function to view and making zoom controls a view  rather than template