added basic grid events and styles