Fix error with scrollto

* missing $ (needed for offset()) 
* accounts for scrolling to an id that doesn't exist