before changes in sizebar