moved view functionality into the view
added euclidToPoincare option with animation