New scroll handling

- the scroll routine refactored
[fixed] CSS related to wanings is always added