Calculator project I need help

Here is my calculator project

it is almost done I just want to add one feature, but I got no idea how to do it.

Feature that I want to add is when I run out of the space on the history display where I keep record of previous calculations like in this case

I want to have an arrow like this <> pop out on each side of the display that will enable me scrolling to the left and right. I don’t know how to make it happen. On which event I should trigger popping out of the arrow? And how to make scrolling look nice and smooth?

Also, I want to limit main display to 10 characters to avoid situations like this:

Thanks everyone for the help.