relocate origin view from query string to cookie