Made it so transitions only happen on buttons.