[FIX] fix searchbar navigation (web client)

the code handling the left and right keydown events was moved.  However,
the variable this was not properly changed, which resulted in a broken
navigation (left/right) in the search bar.