2nd click sets it off the page

can anyone tell me why my map goes off page when click a second time. If you click once the map zooms in and you can navigate but when you click it a second time it randomly goes off page or goes a little off page. How do I keep it from showing the maps edges?