Updating width and height for mobile tooltip