fancy jquery to auto scroll the page to the selected card