moving trade detail to a proper view