This method triggers focus event with the next focused element and triggers unfocus event with the previous focused one.