implemented directional movements in GridContainer