disable forward and back buttons on carousel with less than 2 items