Windows switch/resize during vnc connection


I have a case where I need to debug one cucumber/selenium test which fails and I would like to debug it steps. I have small problem. When firefox is opened I can’t switch back to terminal window. Do you know how to do this? I use ubuntu 14.04 image on circle. I also noticed that title bars for window and resize options are blocked.