Several UI behavior fixes for mobile