Trigger pageSizeChanged on show and hide links

So that the sticky scripts work in the correct place fire page size
changed on showing and hiding the primary link code.