Get rid of hardcoded points in the view template