improve search filter to avoid recursion and build in display classes 'half' and 'full' for even or widow result groups