added fixed tab functionality