fixed bug where after page change and then refresh without selecting sort the sort option vanishes. Finished for real now