Updated FluidGridAdapter

- updated whitespaces
- added compatibility with 2.3+