Make change slide method external