Fixing of generic_Load

The events bound in this function were being triggered for every page
instead of the currently shown page.