Implementaion of accordion for trends in logged in page