made view::translate static