FEC-1190 Check that context.scroll is a function, before call