[Clean] - Merged determinTarget and updateCurrentSlide funcs