Fixed dynamic sizing of activities in dayView.

Also added automatic breaks between activities and dynamic width of the
container.