Fixed timeline initialization method. Implemented pagination for last week and last month.