added grid toggle

- a bit slow as it needs to repaint the whole data
- leave this for later optimzation.

Signed-off-by: Nicholas Tan Jerome <nicholas.jerome@kit.edu>