fix typo
add scrollWhen directive and protractor test backing it up