css doesnt work after chaning tabs