fix toggle backgroud to work with more than 1 tab