changed View class to drawing interface so it is smooth.