Added expand/contract functionality when creating games