gave query string priority over localStorage

also inverted expand button