transition fixed

- adapt css to other browser
- improve JS