Added _detectScrollBody method to detect element to animate