Added horizontal scrolling to scrollToElement

When I use `container.scrollToElement(element)`, the horizontal scroll isn't implemented. This seems to be fixed by simply implementing the left to the `scrollToElement` prototype.