section element animation bug fix