added toggle keyboard feature