Improve menu opacity transition