jQuery.scrollIntoView
jQuery.scrollIntoView copied to clipboard
scrolls only vertically
it seems to work only with vertical scrolling. here I changed the demo to a horizontal scrolling: http://jsfiddle.net/loominade/3fk2z0vm/
the default scrollIntoView function works with both directions