optims css and scroll