Added resize functionality for the maze Editor