add options page, support auto-size