Updated inview plugin

Fixes #270