positioning of modal
prevent default for scrolling to top on image click