fix the dimension of the dayview