Zepto compatibility

* remove custom selectors
* replace $window.scrollLeft() with window.pageXOffset
* replace $this.is(':visible') with !($this.width() || $this.height()) || $this.css("display") === "none" (inversion of definition from https://gist.github.com/gregstewart/2767675)