1. add packageEntryTab state and mutation in vuex store 2. extract and track current/previous page's matching tab entry 3. update package entry tab state via store commit instead of local variable 4. optimize tab url parsing by stripping query parameters