Search div and pagination logic issues

Search div and pagination logic issues