fixed query URL + added selected page styles