small style changes with transition