alphasights/lion — pull request #7 by Arkham (2014-05-15 09:29:21+00:00)
Title: Scroll task items into view only if they're not visible

# What's up

When clicking on tasks, the browser view is scrolled to bring it to the top: this was done because sometimes you wouldn't see the task when accessing the page from external links.

This PR improves that behaviour so that we only scroll if the element is not visible :dart: