added outsideEvents to views