layout fix, view history done