2014/2/20
Add functions which detect if pjs sketch is in the viewport. Stop pjs drawing if out off viewport.