I too have noticed the volume slider does not always behave as it should. In my case, it seems to hang around even though it should be gone during video Airplay.
Sometimes it's a device issue, and is fixed with a simple reboot (try both iPhone and Apple TV). If that's not the case, then file it under "bug."