Cleaned up HUD.js a bit, and now it keeps the HUD positioned against the trigger as the page is resized