changed frame names, added toggle frame