Bugfix related to browser scrolling/grabbing focus. Removed animate_duration stuff.