Added moving and passing info to detail view