sidebar and popup transition.