floating toolbar adjustments for cross theme compatibility