Create custom title bar

i created custom title bar for every vertical arrangement(virtual screen) and hide default title bar but when i scroll the screen, title bar is also scrolling together. is there any setting to set title bar fixed?