While writing a narrative essay can I travel with time?

For example,

" It was yesterday when all this happened. A little toddler from my neighborhood messed up my school assignment. I felt enraged. The next day I pleaded my teacher for some extra time. Now ten years have passed and this memory brings smile at my face when I think about it "?

You can see how I travelled with time thrice while I wrote this paragraph. Is it grammatically correct?