adding an 'activated' event triggered when a section comes into view