Might just want to change comment to accommodate for changes from up/down to left/right:

// Alt+page left/right moves focus to the previous/next tab (and activates)