Add tests for scrollbar directive
Fix bug on scrollbar