Add another possible value for $inviewpart

In 1.5.0 the code will continue sending `top` as the value of `$inviewpart` if we have a long element where the top of the element scrolls out before the bottom scrolls in.

This code adds a new value `neither` when the middle of the element is in the viewport but neither the top nor the bottom of the element is in the viewport.