changed pin index view