moved map funcitonality to show page