history toggle and some css