improved code and fixed the height of Agenda component