Add a class for the slider link.