Preventing default event on click

It's a little annoying that the page jumps up when you click on the previous or next button