fixed topic switching issues, fixed styles for bootstrap theme