smoothing out some UI stuff