fixed dropdown terminal and some floating behaviour