dictionary adjustments for browser resize