Data binds to history and view