bug fix for mobile bar