Made the arrow buttons disable at the boundaries of the value range.