use translation to draw views