dragbar position and layout optimization