Fix layouts on narrow screens
Clean up hash handling and server param collection