Smoothed out transition between mobile and desktop view.