Prevent pagination while menu contains a sortable

@tscheepers