I have a image scroller which has 2 navigation button left and right. It scrolls up to one image width, I want to give enable class to right navigation key when the images in scroller are there to scroll right and when reaches to the last image it should be disable. Same should also apply to left navigation button.