move filterRequirements to req controller
flatten image grid