modified the classes for feed using current page to improve performance