Added local storage for index

will be used on the detail page
Simple detail page