fixes to agenda view

TODO : handle the display limit