fixed update scroll position directive