Move the aside toggle code into trademapper.js