Fix the pager with more than 4 workspaces and in a vertical panel