add event.preventDefault() and default positioning