fix subreddit style toggle showing up on homepage

this is accomplished by also listening for 'load' event on window, and triggering an afterLoad function (now available in all modules in case DOMContentLoaded is too early for anything else).