Fix backwards cycling through search results
The hotkey for going backwards through results did not work as expected. This is the expected behavior as implemented in this mr after inputting a search string in the search bar (example "string"):
- initially, pressing enter should focus the first result. pressing shift-enter should focus the first result.
- when a result is focused, pressing enter hsould go to the next result or, if the last result is focused, the first result. shift-enter should go to the previous result or, if the first result is focused, the last result.