Removed some redundant empty arrays
Added broadcast event when page is scrolled