add gitignore
separate actual scroll animation from anchor event handler