Remove query string from portrait