navigation and params between detail and main view