added movetoside event handler and grid-specific canvas/context