Changed slideAnythingFunc to private