added method to minimise timeline