Make clicking elements more reliable
Make clicking elements more reliable

First try to scrollIntoViewIfNeeded() and then click, if the element
is hidden behind other element do some more ruthless scrolling
using scrollIntoView() and try clicking again.

This should minimise errors related to scrolling lag while at the
same time ensuring that we can click elements that are hidden
behind sticky elements

alphagov/notifications-functional-tests,alphagov/notifications-functional-tests