Added functionality to carousel arrows