create scrollToTarget helper
use scrollToTarget helper