fixes hidtory collapsing after show
fixes pagination and page size options