Avoid autoscrolling anchored URLs (#474)
Avoid autoscrolling anchored URLs (#474)

* force scroll to false if # is found in url

* only overwrite scroll if scroll=true is not passed in

* clean up logic around setting scroll var

zeit/next.js,kpdecker/next.js,nelak/next.js,callumlocke/next.js,JeromeFitz/next.js,dizlexik/next.js,flybayer/next.js,flybayer/next.js,BlancheXu/test,flybayer/next.js,nikvm/next.js,zeit/next.js,zeit/next.js,JeromeFitz/next.js,flybayer/next.js,kevmannn/next.js,JeromeFitz/next.js,arunoda/next.js,azukaru/next.js,BlancheXu/test,giacomorebonato/next.js,sedubois/next.js,azukaru/next.js,JeromeFitz/next.js,nahue/next.js,BlancheXu/test,azukaru/next.js,azukaru/next.js