fix loading spinner on mobile