Adding click detection for arrows.

I added a type of click detection for the buttons. It's a little slow
however, will try to look into speeding it up sometime.