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: