updated ui to be smoother