getting grid behaviour working properly