refactored timeline activity into a fragment