Replaced jquery transit with jquery animate enhanced