Why do i get really low fps in the unreal editor?

I am brand new to the Unreal Engine and I have been having some problems with my fps. In the viewport i have a perfect 120 frames, but when i click on anything else besides the viewport I will drop down to 5 immediately making it impossible to do any work. I don’t think it can be my pc because i have a 1070, I5-8600k overclocked and 16gb ram. Is there any setting that maybe causing this problem. I have tried playing around with capping fps and other settings as well. Any help is appreciated.

Are you on a laptop or desktop? Have you upgraded your GPU drivers recently? Is your CPU, GPU, memory, or disk maxing out when this issues are occurring?

desktop, yes i have the most recent drivers and my cpu gpu, memory or hard drive is not maxing out