prevent scroll to top when slider card clicked