fix firefox scroll to not working issue
add css transition cross browser