style changes + history still not working properly