From what I have read the foam and gap is for damping and the water to come out, but I may be wrongI'd be interested in this too, as I really don't like that gap with the foam being visible - shouts water ingress to me...
The World's largest electric mountain bike community.